const topicLibrary = {
  path: '/topic-librarys',
  name: 'topic-librarys',
  meta: { title: '专题库', type: 4, code: 'ztk' },
  redirect: '/topic-librarys/topic-list',
  component: () => import('@/views/Home/courseLibrary/index.vue'),
  children: [
    {
      path: 'topic-list',
      name: 'topic-list-home',
      meta: { type: 4 },
      component: () =>
        import('@/views/Home/courseLibrary/courseList/index.vue'),
    },
    {
      path: 'topic-detail',
      name: 'topic-detail',
      meta: { title: '专题详情', type: 4, dataType: 1, courseId: '' },
      component: () =>
        import('@/views/Home/courseLibrary/courseDetail/index.vue'),
      children: [
        {
          path: 'knowdedge-detail',
          name: 'topic-knowdedge-detail',
          meta: { title: '资源详情', type: 4, dataType: 2 },
          component: () =>
            import('@/views/Home/courseLibrary/knowledgeDetail/index.vue'),
        },
      ],
    },
  ],
}
export default topicLibrary
